/**
 * Created by dllo on 18/4/8.
 */
public class Mainswimmer {

    public static void main(String[] args) {

        Swimmer swimmer = new Swimmer();
        swimmer.setGender("男子");
        swimmer.setLength(200);
        swimmer.setStroke("自由泳");
        swimmer.swim();

        Swimmer swimmer1 = new Swimmer("女子", 500, "仰泳");
        swimmer1.swim();
    }
}
